package com.redsoil.house.ui.capital.contract;

import com.redsoil.house.model.bean.CountAssetVO;
import com.redsoil.house.model.bean.DictListVO;
import com.redsoil.house.model.bean.ReceiptListVO;
import com.weidingqiang.rxfiflibrary2.base.BasePresenter;
import com.weidingqiang.rxfiflibrary2.base.BaseView;

/**
 * 作者：weidingqiang on 2017/9/7 15:36
 * 邮箱：dqwei@iflytek.com
 */

public interface CapitalInfoContract {

    interface View extends BaseView {
        void responeError(String errorMsg);

        void getDicListSuccess(DictListVO dictListVO);

        void postReceiptListSuccess(ReceiptListVO receiptListVO);

        void countAssetSuccess(CountAssetVO countAssetVO);

        void getComplete();

        void exportEarningSuccess(String data);
    }

    interface Presenter extends BasePresenter<View> {
        void postReceiptList();

        void getMainData();

        void getCountAsset(String type);

        void exportEarnings(String exportType, String exportVaule);
    }
}
